//
//  SEGLoginRightView.h
//  Login
//
//  Created by 梁昆 on 16/8/16.
//  Copyright © 2016年 segiK. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Commom/SEGPasswordTextField.h>

@protocol LoginProtocol <NSObject>
- (void)losePasswordWithPhoneNumber:(NSString*)phoneNumber; //忘记密码代理方法
- (void)enterLogin:(NSDictionary*)pramas;   //登录代理方法
- (void)GotoRegister;   //提示用户，跳转到注册页
- (void)gotoPrivacy;   //跳转到隐私政策页
- (void)gotoUserAgreement;   //跳转到用户协议
@end

@interface SEGLoginRightView : UIView

//设置手机号和密码
- (void)setPhoneText:(NSString *)phone passwordText:(NSString *)password;

@property (nonatomic, assign) id<LoginProtocol> loginDelegate;
/*
 顶部图片
 */
@property (nonatomic, strong) UIImageView* headImageView;   //顶部图片
/*
 手机号下面的分割线
 */
@property (nonatomic, strong) UIView* line1View;    //手机号下面的分割线
/*
 密码下面的分割线
 */
@property (nonatomic, strong) UIView* line2View;    //密码下面的分割线
/*
 清楚手机号按钮
 */
@property (nonatomic, strong) UIButton* cleanPhoneButton;   //清楚手机号按钮
/*
 忘记密码
 */
@property (nonatomic, strong) UIButton* losepassButton; //忘记密码
/*
 进入app按钮
 */
@property (nonatomic, strong) UIButton* enterButton;    //进入app按钮
/*
 手机号
 */
@property (nonatomic, strong) UITextField* phoneText;   //手机号
/*
 密码
 */
@property (nonatomic, strong) SEGPasswordTextField* passwordText;    //密码
/*
 去注册提示
 */
@property (nonatomic, strong) UIButton *gotoRegister; //去注册提示
/** 标题Lab */
@property (nonatomic, strong) UILabel *titleLab;
/** 标语Lab */
@property (nonatomic, strong) UILabel *sloganLab;
/** 密码可看 */
@property (nonatomic, strong) UIButton *seePasswordButton;
/** 垂直分割线 */
@property (nonatomic, strong) UIView *verticalLine;

@end
